package com.nwcl;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;

@SpringBootApplication
//扫描mybatis mapper包路径
@MapperScan({"com.nwcl.basic.dao","com.nwcl.ysx.dao"})
public class NwclApplication {

    public static void main(String[] args) {
        try {
            SpringApplication.run(NwclApplication.class, args);
        }catch (Exception e){
            e.printStackTrace();
        }
    }

}
